<!DOCTYPE html>
<html>
<head>
	<title>系统信息页面</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <script type="text/javascript">
	    var path = window.document.location.href;
		var pathName = window.document.location.pathname;
		var hostPath = path.substring(0, path.indexOf(pathName));
		var projectName = pathName.substring(0, pathName.substr(1).indexOf("/") + 1);
		document.write('<scr' + 'ipt src="' + projectName + '/js/html/header.js"></scr'+'ipt>');
    </script>
</head>
<body>
	<table id="dg" style="width: auto; height: auto" fitColumns="true">
		<thead>
			<tr>
				<th field="id" data-options="hidden:true">ID</th>
			<th field="sysName" align="right" width="100" 
				data-options="
				sortable:true,
				remoteSort:false
				">系统名称</th>
			<th field="busiDate" align="right" width="100" 
				data-options="
				sortable:true,
				remoteSort:false
				">交易日期</th>
			<th field="lbatDate" align="right" width="100" 
				data-options="
				sortable:true,
				remoteSort:false
				">上次日期</th>
			<th field="nbatDate" align="right" width="100" 
				data-options="
				sortable:true,
				remoteSort:false
				">下次日期</th>
			<th field="status" align="right" width="100" 
				data-options="
				sortable:true,
				remoteSort:false
				">系统状态 </th>
			<th field="inspType" align="right" width="100" 
				data-options="
				sortable:true,
				remoteSort:false
				">日期取值方式</th>
			</tr>
		</thead>
	</table>
	<div id="dg-buttons" style="height:auto">
		<div style="margin-bottom:5px">
			<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" 	onclick="dlgEdit()">修改</a>
		</div>
	</div>
	<div id="dlg-buttons">
		<a href="javascript:dlgSave()" class="easyui-linkbutton" iconCls="icon-ok">保存</a>
		<a href="javascript:dlgClose()" class="easyui-linkbutton" iconCls="icon-cancel">关闭</a>
	</div>
	<div id="dlg" class="easyui-dialog" closed="true" style="width: 730px; height: 380px; padding: 10px 10px;" buttons="#dlg-buttons">
		<form method="post" id="fm">
			<table cellspacing="8px;">
				<td><input id="id" name="id" style="display: none" required="true"></td>
			<tr>
				<td>系统名称</td>
				<td><input id="sysName" name="sysName" class="easyui-validatebox" 
				required="true">&nbsp; 
				<span style="color: red">*</span></td>
			</tr>
			<tr>
				<td>交易日期</td>
				<td><input id="busiDate" name="busiDate" class="easyui-validatebox" 
				required="true">&nbsp; 
				<span style="color: red">*</span></td>
			</tr>
			<tr>
				<td>上次日期</td>
				<td><input id="lbatDate" name="lbatDate" class="easyui-validatebox" 
				required="true">&nbsp; 
				<span style="color: red">*</span></td>
			</tr>
			<tr>
				<td>下次日期</td>
				<td><input id="nbatDate" name="nbatDate" class="easyui-validatebox" 
				required="true">&nbsp; 
				<span style="color: red">*</span></td>
			</tr>
			<tr>
				<td>系统状态 </td>
				<td><input id="status" name="status" class="easyui-combobox" 
				required="true">&nbsp; 
				<span style="color: red">*</span></td>
			</tr>
			<tr>
				<td>日期取值方式</td>
				<td><input id="inspType" name="inspType" class="easyui-combobox" 
				required="true">&nbsp; 
				<span style="color: red">*</span></td>
			</tr>
			</table>
		</form>
	</div>
	<div id="dlg-Details" class="easyui-window" closed="true" style="width: 730px; height: 280px; padding: 10px 10px;"></div>
	<script>
		var initd = {
			queryDataURL : "/system/sysinfo/query",
			saveDataURL : "/system/sysinfo/save",
			dg : $('#dg'),
			dataDicLocal:{'status':{'1':'日间','2':'日终','3':'切日失败'},'inspType':{'1':'物理日期','2':'逻辑日期'}}
		};
	</script>
</body>
</html>

